/**
 * @file charArrPtr.c
 * @author your name (you@domain.com)
 * @brief 字符指针的练习
 * @version 0.1
 * @date 2022-11-22
 * 
 * @copyright Copyright (c) 2022
 * 
 */
#include <stdio.h>
int main()
{
    //字符串数组末尾需要结束标识-->'\0'
    char charArr[] = {'C','h','i','n','a'};
    char charArrEnd[]={'C','h','i','n','a','\0'};
    char strArr[]="China";
    puts(charArr);//思考：打印输出的结果是
    puts(charArrEnd);//检查带上结束标识的结果
    puts(strArr);//以字符串形式输出
}